package com.safe.ele.controller;


import com.safe.ele.entity.INdetail;
import com.safe.ele.service.intf.IndetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
/*
* 详情页
* 茹东杰*/
@RestController
@RequestMapping("indetail")
public class INdetailController {

    @Autowired
    private IndetailService indetailService;

    @RequestMapping("findAllById")
    public INdetail findAllById(String typeid){
       return indetailService.selectAlldetailById(typeid);
    }
}
